From: Yosef Or Boczko Date: Wed, 11 Dec 2013 20:40:18 +0000 (+0200) Subject: keyring: Align some srtings to right in RTL X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~2990 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=f8eb8adfbeb5517373da6bb75d2b7c267724d5a0;p=gnome-shell.git keyring: Align some srtings to right in RTL https://bugzilla.gnome.org/show_bug.cgi?id=712594 --- diff --git a/data/theme/gnome-shell.css b/data/theme/gnome-shell.css index 4749c417a..91fca2d06 100644 --- a/data/theme/gnome-shell.css +++ b/data/theme/gnome-shell.css @@ -2095,6 +2095,10 @@ StScrollBar StButton#vhandle:active { color: #666666; } +.prompt-dialog-description:rtl { + text-align: right; +} + .prompt-dialog-password-box { spacing: 1em; padding-bottom: 1em; diff --git a/js/ui/components/keyring.js b/js/ui/components/keyring.js index a5f5e1bdf..41d921eca 100644 --- a/js/ui/components/keyring.js +++ b/js/ui/components/keyring.js @@ -45,7 +45,9 @@ const KeyringDialog = new Lang.Class({ this.prompt.bind_property('message', subject, 'text', GObject.BindingFlags.SYNC_CREATE); this._messageBox.add(subject, - { y_fill: false, + { x_fill: false, + y_fill: false, + x_align: St.Align.START, y_align: St.Align.START }); let description = new St.Label({ style_class: 'prompt-dialog-description' });